#!/usr/bin/env bash

if [ -f ./func.sh ]; then
  source ./func.sh
elif [ -f scripts/func.sh ]; then
  source scripts/func.sh
else
  echo "Cannot find the func.sh files, pls check"
  exit 1
fi

docker pull yeasy/hyperledger-fabric:$FABRIC_IMG_TAG

for IMG in ccenv baseos; do
  docker pull hyperledger/fabric-${IMG}:${FABRIC_IMG_TAG} &s
done